package com.atguigu.cloud.payment8006;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.atguigu.cloud.payment8006.mapper")
@ComponentScan(basePackages = {"com.atguigu.cloud.common","com.atguigu.cloud.payment8006"})
//cloud-service-payment-8006  consul
public class PaymentApp8006 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentApp8006.class,args);
    }
}
